package com.common.orm.sqlparameters;

import java.sql.PreparedStatement;
import java.sql.SQLException;

/**
 * @author Dmitry Savchenko
 */
public class ParameterLong extends SqlParameter{
    private Long value;
    
    public ParameterLong(String name, long value) {
        super(name);
        this.value=value;
    }

    
    @Override
    public void process(int index, PreparedStatement prepStatement) throws SQLException {
        prepStatement.setLong(index, value);
    }
    
}
